package com.guigu.www.service.impl;

import com.guigu.www.pojo.TMember;
import com.guigu.www.mapper.TMemberMapper;
import com.guigu.www.service.TMemberService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 会员表 服务实现类
 * </p>
 *
 * @author yb
 * @since 2021-06-29
 */
@Service
public class TMemberServiceImpl extends ServiceImpl<TMemberMapper, TMember> implements TMemberService {

    @Autowired
    private TMemberMapper tMemberMapper;
    @Override
    public TMember login(TMember tMember) {
        return tMemberMapper.login(tMember);
    }

    @Override
    public TMember yanzhen(TMember tMember) {
        return tMemberMapper.yanzhen(tMember);
    }

    @Override
    public boolean add(TMember tMember) {
        return tMemberMapper.add(tMember);
    }
}